set(src_dir "spi_display" "lcd" "lvgl_control" "button" "timer_init")
set(include_dir "spi_display" "lcd" "lvgl_control" "button" "timer_init")
set(require_list "driver" "lvgl" "esp_timer")

idf_component_register(SRC_DIRS ${src_dir} INCLUDE_DIRS ${include_dir} REQUIRES ${require_list})
component_compile_options(-ffast-math -O3 -Wno-error=format -Wno-format -Wno-uninitialized)